// ------------------------------- 部门接口-成功返回定义 start ---------------------------------------

/**
 * @apiDefine orgTreeScopeSuccess
 *
 * @apiSuccess {int} errcode 结果码
 * @apiSuccess {String} errmsg 消息说明
 * @apiSuccess {Object} data 返回数据下面示例为数据结构
 * @apiSuccessExample 成功-返回信息:
 * HTTP/1.1 200 OK
 * {
    "errno": 0,
    "errmsg": "查询成功",
    "data": [
        {
            "id": 1,
            "pid": 0,
            "pids": "0",
            "name": "北京分公司",
            "address": "北京海淀",
            "phone": "18988888888",
            "sort_num": 0,
            "status": "0",
            "create_time": "2020-10-28 14:24:43",
            "update_time": "2020-10-28 14:31:11",
            "del_flag": 0,
            "children": [
                {
                    "id": 3,
                    "pid": 1,
                    "pids": "0",
                    "name": "财务部",
                    "address": "北京海淀",
                    "phone": "18911111111",
                    "sort_num": 0,
                    "status": "0",
                    "create_time": "2020-10-28 14:26:21",
                    "update_time": "2020-11-29 15:42:35",
                    "del_flag": 0,
                    "children": []
                },
                {
                    "id": 4,
                    "pid": 1,
                    "pids": "0",
                    "name": "业务部",
                    "address": "北京海淀",
                    "phone": null,
                    "sort_num": 0,
                    "status": "0",
                    "create_time": "2020-10-28 14:26:31",
                    "update_time": "2020-10-28 14:31:26",
                    "del_flag": 0,
                    "children": []
                },
                {
                    "id": 5,
                    "pid": 1,
                    "pids": "0",
                    "name": "人事部",
                    "address": "北京海淀",
                    "phone": "18822222222",
                    "sort_num": 1,
                    "status": "0",
                    "create_time": "2020-10-28 14:26:34",
                    "update_time": "2020-12-03 16:47:33",
                    "del_flag": 0,
                    "children": []
                },
                {
                    "id": 2,
                    "pid": 1,
                    "pids": "0",
                    "name": "技术部",
                    "address": "北京海淀",
                    "phone": "111",
                    "sort_num": 2,
                    "status": "0",
                    "create_time": "2020-10-28 14:26:02",
                    "update_time": "2020-12-03 16:47:15",
                    "del_flag": 0,
                    "children": []
                }
            ]
        }
    ]
}
 */

/**
 * @apiDefine orgTreeSuccess
 *
 * @apiSuccess {int} errcode 结果码
 * @apiSuccess {String} errmsg 消息说明
 * @apiSuccess {Object} data 返回数据下面示例为数据结构
 * @apiSuccessExample 成功-返回信息:
 * HTTP/1.1 200 OK
 * {
    "errno": 0,
    "errmsg": "查询成功",
    "data": [
        {
            "id": 1,
            "pid": 0,
            "pids": "0",
            "name": "北京分公司",
            "address": "北京海淀",
            "phone": "18988888888",
            "sort_num": 0,
            "status": "0",
            "create_time": "2020-10-28 14:24:43",
            "update_time": "2020-10-28 14:31:11",
            "del_flag": 0,
            "children": [
                {
                    "id": 3,
                    "pid": 1,
                    "pids": "0",
                    "name": "财务部",
                    "address": "北京海淀",
                    "phone": "18911111111",
                    "sort_num": 0,
                    "status": "0",
                    "create_time": "2020-10-28 14:26:21",
                    "update_time": "2020-11-29 15:42:35",
                    "del_flag": 0,
                    "children": []
                },
                {
                    "id": 4,
                    "pid": 1,
                    "pids": "0",
                    "name": "业务部",
                    "address": "北京海淀",
                    "phone": null,
                    "sort_num": 0,
                    "status": "0",
                    "create_time": "2020-10-28 14:26:31",
                    "update_time": "2020-10-28 14:31:26",
                    "del_flag": 0,
                    "children": []
                },
                {
                    "id": 5,
                    "pid": 1,
                    "pids": "0",
                    "name": "人事部",
                    "address": "北京海淀",
                    "phone": "18822222222",
                    "sort_num": 1,
                    "status": "0",
                    "create_time": "2020-10-28 14:26:34",
                    "update_time": "2020-12-03 16:47:33",
                    "del_flag": 0,
                    "children": []
                },
                {
                    "id": 2,
                    "pid": 1,
                    "pids": "0",
                    "name": "技术部",
                    "address": "北京海淀",
                    "phone": "111",
                    "sort_num": 2,
                    "status": "0",
                    "create_time": "2020-10-28 14:26:02",
                    "update_time": "2020-12-03 16:47:15",
                    "del_flag": 0,
                    "children": []
                }
            ]
        }
    ]
}
 */

/**
 * @apiDefine orgRetrieveSuccess
 *
 * @apiSuccess {int} errcode 结果码
 * @apiSuccess {String} errmsg 消息说明
 * @apiSuccess {Object} data 返回数据下面示例为数据结构
 * @apiSuccessExample 成功-返回信息:
 * HTTP/1.1 200 OK
 * {
    "errno": 0,
    "errmsg": "查询成功",
    "data": [
        {
            "id": 7,
            "pid": 6,
            "pids": "6",
            "name": "技术部",
            "address": "北京海淀",
            "phone": null,
            "sort_num": 0,
            "status": "0",
            "create_time": "2020-10-28 14:26:02",
            "update_time": "2020-10-28 14:31:35",
            "del_flag": 0
        },
        {
            "id": 2,
            "pid": 1,
            "pids": "0",
            "name": "技术部",
            "address": "北京海淀",
            "phone": "111",
            "sort_num": 2,
            "status": "0",
            "create_time": "2020-10-28 14:26:02",
            "update_time": "2020-12-03 16:47:15",
            "del_flag": 0
        }
    ]
}
 */
// ------------------------------- 部门接口-成功返回定义 end -----------------------------------------
